package main

import "fmt"

func main() {
	n := []int{1, 2, 3, 4}
	//n := [4]int{1, 2, 3, 4}
	fmt.Println("n: ", n)
	n2 := n
	fmt.Println("n2: ", n2)
	updateNum(n)
	fmt.Println("now n2: ", n2)
}

func updateNum(n3 []int) {
	//func updateNum(n3 [4]int) {
	n3[0] = 0
	fmt.Println("n3: ", n3)
}
